class CRPEPrintOptions

This class is used to set the print characteristics of a report. It is used with CRPEJob::SetPrintOptions.

Data Members

m_startPageN

Specifies the first page that you want to print.

m_stopPageN

Specifies the last page that you want to print.

m_nReportCopies

Specifies the number of copies that you want to print.

m_collation

Indicates whether or not you want the copies of the report to be collated (if you are printing multiple copies of a multiple page report.

Constructor CRPEPrintOptions::CRPEPrintOptions
Constructor Default Syntax

CRPEPrintOptions ();

Constructor Syntax
CRPEPrintOptions (startPageN SMALLINT : 0, stopPageN SMALLINT : 0, 
nReportCopies SMALLINT : 0, collation SMALLINT : PEP_DEFAULTCOLLATION);
Constructor Parameters

startPageN

Specifies the first page that you want to print. Assigns this value to the CRPEPrintOptions::m_startPageN member.

stopPageN

Specifies the last page that you want to print. Assigns this value to the CRPEPrintOptions::m_stopPageN member.

nReportCopies

Specifies the number of copies that you want to print. Assigns this value to the CRPEPrintOptions::m_nReportCopies member.

collation

Indicates whether or not you want the copies of the report to be collated (if you are printing multiple copies of a multiple page report). Assigns this value to the CRPEPrintOptions::m_collation member. Possible values are:

Value Meaning


PEP_UNCOLLATED

Prints multiple copies of a multiple page report uncollated (Page order = 1, 1, 1, 2, 2, 2, 3, 3, 3, etc.).


PEP_COLLATED

Prints multiple copies of a multiple page report collated (Page order = 1, 2, 3..., 1, 2, 3..., etc.).


PEP_DEFAULTCOLLATION

Prints multiple copies of a multiple page report using the collation settings specified in the report.

Remarks

Constructs a CRPEPrintOptions class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Related Report Engine Calls

PEPrintOptions



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com